home *** CD-ROM | disk | FTP | other *** search
/ Aminet 21 / Aminet 21 (1997)(GTI - Schatztruhe)[!][Oct 1997].iso / Aminet / util / cli / wbpw.lha / WBPatWrite.doc < prev    next >
Text File  |  1997-07-19  |  2KB  |  62 lines

  1. NAME
  2.  
  3.     WBPatWrite - write Workbench pattern preferences file
  4.  
  5. SYNOPSIS
  6.  
  7.     WBPatWrite WBPIC,WP=WINPIC/K,SP=SCREENPIC/K,PREFSFILE,ICON/S,SYS=SYSTEM/S,CHECK/S
  8.  
  9. DESCRIPTION
  10.  
  11.     WBPatWrite generates a WBPattern preferences file ready for use. In
  12.     this respect it is a shell-only replacement for WBPattern. Filenames
  13.     given for the pictures are generally not checked for validity.
  14.  
  15. OPTIONS
  16.  
  17.     WBPIC
  18.         Picture to show in the Workbench root window.
  19.  
  20.     WP=WINPIC/K
  21.         Picture to show in the Workbench drawer windows.
  22.  
  23.     SP=SCREENPIC/K
  24.         Picture to show on the Workbench screen. *NOTE* This is different
  25.         from the root window. This picture is usually only seen when the
  26.         Workbench is not in backdrop mode.
  27.  
  28.     PREFSFILE
  29.         If this option is not given, the default is "wbpattern.pre".
  30.  
  31.     ICON/S
  32.         This switch causes the program to generate an icon for the
  33.         resulting preferences file. The default tool is set to
  34.         SYS:Prefs/WBPattern and a tooltype ACTION=USE is set.
  35.  
  36.         First the program seeks for a file ENV:Sys/def_pref.info to use.
  37.         If this is not found, the system default project icon is used.
  38.  
  39.     SYS=SYSTEM/S
  40.         Overrides any given ICON and PREFSFILE options by turning off
  41.         the ICON option and setting PREFSFILE to ENV:Sys/wbpattern.pref,
  42.         resulting in a direct display of the chosen picture files in the
  43.         appropriate areas of the Workbench.
  44.  
  45.     CHECK/S
  46.         The filename given for a picture is checked for validity. If the
  47.         picture doesn't exist, the program sets its returncode to 5 (WARN).
  48.  
  49. BUGS
  50.  
  51.     Absolute paths must be used, or at least relative to an assign, or IPrefs
  52.     will complain.
  53.  
  54.     If no further options are given, a preferences file named
  55.     wbpattern.pre with all pictures set to none is written in the
  56.     current directory. Perfectly predictable, if you have read this
  57.     doc so far, by the way. ;)
  58.  
  59. AUTHOR
  60.  
  61.     Oliver B. Warzecha, obw@amarok.ping.de.
  62.